home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / program / strings.lzh / STRINGS.MAN next >
Text File  |  1994-08-27  |  2KB  |  42 lines

  1. STRINGS(1)            USER COMMANDS
  2.  
  3.  
  4. NAME
  5.     strings  -  extract strings from binary file
  6.  
  7. SYNOPSIS
  8.     strings [-adoxnv] [-m <number>] [-c chars] filename
  9.  
  10. DESCRIPTION
  11.     Extracts and prints sequences of printable characters, terminated by
  12.     a _✓z_✓e_✓r_✓o _✓b_✓y_✓t_✓e, from the _✓d_✓a_✓t_✓a segment of the specified file, which is
  13.     assumed to be a GEMDOS executable.
  14.     Strings are listed in C-format, i.e. as they would be accepted
  15.     as string constants in C.  Strings shorter than 4 characters are
  16.     ignored.  Printable characters are '\t', '\n', and ASCII 32 to 126.
  17.  
  18.     Options:
  19.  
  20.     -a    All:  Search the _✓c_✓o_✓m_✓p_✓l_✓e_✓t_✓e file (regardless of its format).
  21.     -d    _✓D_✓e_✓c_✓i_✓m_✓a_✓l: Precede each string with its _✓p_✓o_✓s_✓i_✓t_✓i_✓o_✓n in the file.
  22.     -o    _✓O_✓c_✓t_✓a_✓l: Same as -d, only in octal.
  23.     -x    _✓H_✓e_✓x_✓a_✓d_✓e_✓c_✓i_✓m_✓a_✓l: Same as -d, only in hex.
  24.     -l    Literal: Print strings _✓l_✓i_✓t_✓e_✓r_✓a_✓l_✓l_✓y (i.e., not in C-format).
  25.     -n    Newline: Accept '\n' and '\r' as string _✓t_✓e_✓r_✓m_✓i_✓n_✓a_✓t_✓o_✓r_✓s.
  26.     -m <no>    _✓M_✓i_✓n_✓i_✓m_✓u_✓m length:  Ignore strings shorter than <no> characters.
  27.     -c <ch>    _✓C_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r_✓s: Regard the specified chars as _✓p_✓r_✓i_✓n_✓t_✓a_✓b_✓l_✓e.
  28.     -u    _✓U_✓m_✓l_✓a_✓u_✓t_✓s: Regard "umlaut" characters as printable ("äöüÄÖÜß").
  29.     -v    _✓V_✓e_✓r_✓b_✓o_✓s_✓e:  List the segment sizes.
  30.  
  31. RESTRICTIONS
  32.     Printing of strings is limited to the internal buffer size of 1024
  33.     characters.
  34.  
  35. BUGS
  36.     When printing in C-format, characters greater than 126 are not
  37.     escaped by '\\ddd' (only with -c or -u options).
  38.  
  39. AUTHOR
  40.     hafer@infbs.uucp    August 1989
  41.  
  42.